<!DOCTYPE html>
<html xmlns:th="http://www.thymeleaf.org">

<head>
<meta charset="UTF-8"/>
<title>Insert title here</title>
</head>
<body>
	<nav class="navbar-default navbar-static-side" role="navigation" th:fragment="navigation">
        <div class="sidebar-collapse">
            <ul class="nav metismenu" id="side-menu">
                <li class="nav-header">
                    <div class="dropdown profile-element"> 
                    	<a data-toggle="dropdown" class="dropdown-toggle" href="#">
                            <span class="clear"> 
                            	<span class="block m-t-xs">
                            		<strong class="font-bold" style="font-size: 20px;">分销推送管理后台</strong>
                             	</span> 
                             </span>
                     	</a>
                    </div>
                </li>
                <li id="index" th:class="${#httpServletRequest.getServletPath().indexOf('main/dashboard')} ge 1 ? 'active' : ''">
                    <a th:href="@{/main/dashboard}"><i class="fa fa-diamond"></i> <span class="nav-label">首页</span></a>
                </li>
                <li id="news" th:class="${#httpServletRequest.getServletPath().indexOf('news')} ge 1 ? 'active' : ''">
                    <a href="#"><i class="fa fa-desktop"></i> <span class="nav-label">配置管理</span><span class="fa arrow"></span></a>
                    <ul class="nav nav-second-level collapse">
                        <li id="newsTypeManage" th:class="${#httpServletRequest.getServletPath().indexOf('/type')} ge 1 ? 'active' : ''"><a th:href="@{/news/type/list}">消息类型管理</a></li>
                        <li id="newAccessManage" th:class="${#httpServletRequest.getServletPath().indexOf('/access')} ge 1 ? 'active' : ''"><a th:href="@{/news/access/list}">接入配置管理</a></li>
                    </ul>
                </li>
                <li id="chart" th:class="${#httpServletRequest.getServletPath().indexOf('chart')} ge 1 ? 'active' : ''">
                    <a href="#"><i class="fa fa-globe"></i> <span class="nav-label">统计分析</span><span class="fa arrow"></span></a>
                    <ul class="nav nav-second-level collapse">
                        <li th:class="${#httpServletRequest.getServletPath().indexOf('/global')} ge 1 ? 'active' : ''"><a th:href="@{/chart/global/list}">全局推送统计</a></li>
                        <li th:class="${#httpServletRequest.getServletPath().indexOf('/type')} ge 1 ? 'active' : ''"><a th:href="@{/chart/type/list}">消息类型推送统计</a></li>
                        <li th:class="${#httpServletRequest.getServletPath().indexOf('/speed')} ge 1 ? 'active' : ''"><a th:href="@{/chart/speed/list}">消息推送进度</a></li>
                    </ul>
                </li>
                <li id="setting">
                    <a href="#"><i class="fa fa-shopping-cart"></i> <span class="nav-label">系统管理</span><span class="fa arrow"></span></a>
                    <ul class="nav nav-second-level collapse">
                       <!-- <li><a href="#">系统设置</a></li>
                        <li><a href="#">管理员</a></li>
                        <li><a href="#">管理员角色</a></li>
                        <li><a href="#">管理员权限</a></li>-->
                    </ul>
                </li>
            </ul>
        </div>
    </nav>
</body>
</html>



